Skip to main content

vpnRenew

Description

vpn renewal.

Request Method

PUT

Request Path

/customer/vpn/renew

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
periodBODYintegerYesNo sample value for this parameter.period
instanceIdBODYstringYesNo sample value for this parameter.instance id
costBODYintegerYesNo sample value for this parameter.estimated price
regionIdBODYstringYesNo sample value for this parameter.region id
voucherInstanceIdBODYstringNoNo sample value for this parameter.voucher of the order
pricingCycleBODYstringYesNo sample value for this parameter.pricing cycle
couponInstanceIdBODYstringNoNo sample value for this parameter.coupon of the order

Return data

NameTypeSample valueDescription
resultobject`{"orderId":"2023011313020100001"}`No description for this parameter.
resultCodestring0No description for this parameter.
resultMsgstringsuccessNo description for this parameter.

Example

Successful Response example

{
"result":
{
"orderId":"2023011313020100001"
},
"resultCode":"0",
"resultMsg":"success"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}